/*
  @author: 13813
  @date: 2024/11/8 10:43
*/
public class Sm {
    public static void main(String[] args) {
        int a = 10;

        int b = a > 5 ? a + 1 : a - 1;

        System.out.println(b);
    }
}
